package com.java47.pojo;

import lombok.Data;

public class Flower {

    private Integer fid;
    private String fname;
    private String asname;
    private String property;
    private Double price;
    private String address;

    public Integer getFid() {
        return fid;
    }

    public void setFid(Integer fid) {
        this.fid = fid;
    }

    public String getFname() {
        return fname;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public String getAsname() {
        return asname;
    }

    public void setAsname(String asname) {
        this.asname = asname;
    }

    public String getProperty() {
        return property;
    }

    public void setProperty(String property) {
        this.property = property;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Flower(){}

    public Flower(Integer fid, String fname, String asname, String property, Double price, String address) {
        this.fid = fid;
        this.fname = fname;
        this.asname = asname;
        this.property = property;
        this.price = price;
        this.address = address;
    }

    @Override
    public String toString() {
        return "Flower{" +
                "fid=" + fid +
                ", fname='" + fname + '\'' +
                ", asname='" + asname + '\'' +
                ", property='" + property + '\'' +
                ", price=" + price +
                ", address='" + address + '\'' +
                '}';
    }
}
